//
//  ScenicPoint.m
//  ImGuider
//
//  Created by 王鹏宇 on 2017/4/25.
//  Copyright © 2017年 imguider. All rights reserved.
//

#import "ScenicPoint.h"

@implementation ScenicPoint

+ (NSDictionary *)modelCustomPropertyMapper {
    
    return @{@"ID" : @"id"};
}


- (NSArray *)pictureArray {
    
    NSMutableArray * arr = [NSMutableArray array];
    
    for (NSString * str in [self.spotpictures componentsSeparatedByString:@","]) {
        if (str.length > 0) {
            [arr addObject:str];
        }
    }
    
    return  arr;
}
@end
